home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 May / EnigmA AMIGA RUN 18 (1997)(G.R. Edizioni)(IT)[!][issue 1997-05][EAR-CD II].iso / ghost / gs403_030.readme < prev    next >
Text File  |  1997-04-21  |  7KB  |  172 lines

  1. Short:    Ghostscript4.03 030 bin, bugfix 1
  2. Author:   GS(Aladdin)/Amiga(Olaf Barthel/Steffen Opel)/Port(me)
  3. Uploader: JoopvandeWege@mail.mococo.nl
  4. Type:     gfx/show
  5. Requires: gs403data.lha
  6.  
  7. This is the Amiga port of Ghostscript4.03. Ghostscript is a Postscript
  8. interpreter with support for Level 2 PS and PDF. This release includes
  9. most popular printers and fileformats including an updated Amiga display
  10. driver.
  11.  
  12. Features:
  13. Ghostscript supports three Amiga specific devices (but see below for ILBM):
  14.     amiga           Amiga Workbench window
  15.     amiga_custom    Amiga custom screenmodes
  16.     amiga_printer   Amiga printer.device
  17. (redesign done by Steffen Opel opel@sto.isdn.uni-mannheim.de)
  18.  
  19. The device 'amiga' opens an Intuition window on the Workbench screen to
  20. display the image. Its usage should be pretty obvious.
  21.  
  22. The device 'amiga_custom' opens a Customscreen to display the image. This 
  23. allows any Display Mode available in the screenmode preferences to be used
  24. with Ghostscript too.
  25.  
  26. The device 'amiga_printer' is a convenient alternative for the printer devices
  27. provided by Ghostscript itself. It facilitates standard Amiga printing via the
  28. Workbench printer drivers and respects most settings in the graphics 
  29. preferences as described in the Workbench documentation.
  30.  
  31. All three devices are supporting -g and -r as described in 'use.txt'.
  32.  
  33. Ghostscript currently has only limited support for IFF ILBM files:
  34.     amiga_ilbm    IFF ILBM file format
  35.  
  36. The device 'amiga_ilbm' works like any other Ghostscript raster file or 
  37. printer device (i.e. pbm), see 'Choosing the output device' above on how 
  38. to specify an output file.
  39. It supports dithered grayscale only and is not portable to other platforms 
  40. because it uses iffparse.library. A portable implementation with color 
  41. support is currently under development.
  42.  
  43.  
  44. This port requires:
  45. - An  Amiga  equipped  with  an mc68030 (no FPU) CPU or any successor CPU
  46.   model and Kickstart 2.04 or higher.
  47. - Approx. 4.7 MBytes of hard disk space available.
  48. - A  minimum  of 1 MByte of chip memory, depending on what you want to do
  49.   with  the  interpreter.  Printer output requires at least 2 MBytes of
  50.   contiguous memory (any memory, not necessarily chip memory).
  51. - A bunch of Postscript/Ghostscript fonts.
  52.  
  53. Comments/Suggestions/Bugs to:
  54. JoopvandeWege@mail.mococo.nl
  55. Please use a Subject field with the name 'GS403' in it.
  56. Please direct all mail to me except when you're 100% sure it is a GS
  57. problem then you can use the Aladdin email address.
  58.  
  59. Joop van de Wege
  60.  
  61.  
  62. Getting Ghostscript.
  63. Download the data archive, gs403data.lha
  64. It contains all needed data in one directory
  65.  
  66. This archive contains the base mc68030 binary which should run on plain
  67. A3000, A4000-030, A4000 and any other machine with a mc68030/40/60 installed
  68. and enough RAM.
  69. On my machine (A3000 + Merlin) it uses 150Kb Chip and 1.5Mb Fast.
  70. Expect it to use more if the psfile is big/complex or when displaying PDF
  71. files and when using 256color modes for the Workbench.
  72.  
  73. How to use Ghostscript.
  74. - Unpack the archive gs403data.lha to a suitable HD with enough room (~3.5M).
  75.   for example 'Work:'.
  76.   A directory 'Ghostscript' will be created and all files needed are found
  77.   within this directory (Work:Ghostscript).
  78. - Unpack one of the special binary archives to the same HD and the executable
  79.   will automatically be placed in the same directory (Work:Ghostscript/gs_000).
  80.   Further do:
  81.   - Assign Ghostscript: Work:Ghostscript
  82.   - path Ghostscript: add
  83.     (Optionally, rename the binary gs_xxx to 'gs')
  84.     Now you can call 'gs' from anywhere with or without arguments. If you add
  85.     the above fragment (Assign ... add) to your s:user-startup then it will
  86.     available everytime you start your computer
  87. - Unpack gs403fonts-std.lha, if you don't have a set of good quality
  88.   postscript fonts. The advantage of using this archive is that you don't
  89.   need to mess with the file 'Fontmap'. The fonts will be placed in 
  90.   'Work:Ghostscript/fonts'.
  91. Or if you already have postscript fonts, do the following:
  92.   - Assign PSFonts: to your postscript font directory (anywhere)
  93.   - create file PSFonts:FONTMAP with at least the following entries:
  94.  
  95. % fontmap aka Fontmap
  96. % ----------------------------------------------------------------
  97. /Times-Roman                    (ptmr.gsf)      ;
  98. /Times-Italic                   (ptmri.gsf)     ;
  99. /Times-Bold                     (ptmb.gsf)      ;
  100. /Times-BoldItalic               (ptmbi.gsf)     ;
  101.  
  102.     It does not matter, which font files are assigned (see below)
  103.  
  104.   - entries within the FONTMAP file at PSFonts: must follow the
  105.     scheme described below:
  106.  
  107.           /Fontname             (Filename)      ;
  108.  
  109.     for example
  110.  
  111.           /Helvetica            (Helvet.pfb)    ;
  112.  
  113.     which means, the corresponding files must actually exist.
  114.     But one also my substitute Fonts symbolically by other fonts,
  115.     like for example:
  116.  
  117.           /Helvetica_Bold       /Helvetica      ;
  118.  
  119.   - the variables in ENV: and ENVARC: must look as follows:
  120.  
  121.       Variable          Content        Remark
  122.  
  123.       GS_FONTPATH                      do not set: delete this one!!
  124.       GS_LIB            PSFonts:
  125.       GS_OPTIONS                       set it, but keep it empty
  126.       GS_DEVICE         amiga          for example (its the default)
  127.  
  128.  
  129. See the 'Ghostscript/docs/use.txt' directory for more information, like
  130. commandline options. Some notes:
  131. - Watch out for case sensitivity when using commandline options, -sOutputFile
  132.   is not equal to -soutputfile !!!!!
  133. - Set your stack high enough, 32000 bytes should do it (stack 32000).
  134.  
  135. Some very useful commandlines with comments in ():
  136. gs -h (outputs small help on most important arguments, and lists all availble
  137.        output devices)
  138. gs (gs opens window on WB and use its palette, use 256color WB if possible,
  139.     there is a problem with NewIcons, it looks like all palette entries are
  140.     reserved by NewIcons so GS will only display in B/W if you use NewIcons)
  141. gs -sDEVICE=png16m (uses the built-in PNG support instead of window on WB)
  142. gs -sOutputFile=ram:output%02d.png -sDEVICE=png256
  143.    (output to files numbered ram:output01.png/ram:output02.png/etc using
  144.     the PNG format (8bit))
  145. gs -r120 (use 120dpi as resolution instead of built-in 72, uses heaps of
  146.           memory at high values)
  147. Arguments useful for PDF files (and ps documents conforming to DSC ?)
  148. gs -dFirstPage=pagenumber (starts on the given page of the document)
  149. gs -dLastPage=pagenumber (Stops after the given page of the document)
  150. See use.doc/Switches for a complete overview of what is available.
  151.  
  152. (taken from 'new-user.txt')
  153. PDF encryption
  154. --------------
  155.  
  156. A user outside the U.S. has created code that allows processing of encrypted
  157. PDF files.  Unfortunately, current U.S. export control laws don't allow
  158. redistribution of this code from a site in the U.S., even though it's freely
  159. available to anyone anywhere in the world from its author's site, so you'll
  160. have to get this code from:
  161.  
  162.         http://www.ozemail.com.au/~geoffk/pdfencrypt/pdf_sec.ps
  163.  
  164. If that doesn't work, try:
  165.  
  166.         http://www.ozemail.com.au/%7Egeoffk/pdfencrypt/pdf_sec.ps
  167.  
  168. The patch consists entirely of PostScript code, so it can be added to a
  169. running version of Ghostscript -- you don't have to recompile anything.  It
  170. is a single file that replaces the file pdf_sec.ps in the standard
  171. Ghostscript fileset (Ghostscript:data/pdf_sec.ps).
  172.